package cn.wolfcode.p2p.bussness.service;


import cn.wolfcode.p2p.base.query.QueryObjext;
import cn.wolfcode.p2p.bussness.domain.BidRequest;
import cn.wolfcode.p2p.bussness.domain.BidRequestAuditHistory;
import cn.wolfcode.p2p.bussness.domain.RechargeOffline;
import cn.wolfcode.p2p.bussness.query.PlatformBankInfoQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

//充值申请
public interface IRechargeofflineService {
    int save(RechargeOffline record);
    RechargeOffline get(Long id);
    int update(RechargeOffline record);
    PageInfo queryPage(PlatformBankInfoQueryObject qo);

    /**
     * 用户提交在线充值
     * @param rechargeOffline
     */
    void apply(RechargeOffline rechargeOffline);

    /**
     * 后台审核方法
     * @param id
     * @param state
     * @param remark
     */
    void audit(Long id, Integer state, String remark);
}
